import { getTopMV } from "../../service/api_video";
Page({
    data:{
      mvData:[]
    },
    getTopMV: async function (data) {
        const res = await getTopMV(data);
        const resData=res?.data||[]
        this.setData({mvData:resData})
        console.log(this.data.mvData)
    },
    onLoad: async function (options) {
        console.log("执行了吗");
        this.getTopMV(10);
    },
});
